﻿<UserControl xmlns:View="clr-namespace:TfsBranchLib2.View" x:Class="TfsBranchLib2.View.SourceControlPathsBox"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:ItemBrowser="clr-namespace:TfsComLib.ItemBrowser;assembly=TfsComLib"
             mc:Ignorable="d"
             d:DesignHeight="198" d:DesignWidth="464">
    <Grid>
        <TabControl x:Name="tabControl" Grid.Row="1" SelectionChanged="UpdateQueryTypeBySelection">
            <TabItem x:Name="singlePathTab" Header="Single path">
                <Grid>
                    <Grid.RowDefinitions>
                        <RowDefinition Height="28" />
                        <RowDefinition Height="24" />
                        <RowDefinition Height="24" />
                        <RowDefinition Height="24*" />
                    </Grid.RowDefinitions>
                    <TextBlock Text="Source Control Path" Grid.Row="0" VerticalAlignment="Bottom" />
                    <ItemBrowser:VcItemBox Height="24" Grid.Row="1" VerticalAlignment="Top" x:Name="serverPath" />
                    <TextBlock Text="Path within branches (Common path for different branches)" Grid.Row="2"
                               VerticalAlignment="Bottom" />
                    <TextBox Grid.Row="3" Height="24" VerticalAlignment="Top" Name="subPath" IsReadOnly="True"
                             Background="{x:Null}" />
                </Grid>
            </TabItem>
            <TabItem x:Name="filterTab" Header="Filter">
                <View:SourceControlFilterBox x:Name="sourceControlFilterBox" />
            </TabItem>
        </TabControl>
    </Grid>
</UserControl>